const sum =require('./sum');

let ave = function ave(arr){
    let a = sum(arr)
    return a/arr.length
}

let max = function max(arr){
    return Math.max(...arr)
}
module.exports={ave,max}